package com.liyk.shop.dao;

import com.liyk.shop.domain.entity.ProductKill;
import com.liyk.shop.tkmapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface ProductKillDao extends BaseMapper<ProductKill> {

    ProductKill findStock(@Param("id") Integer id);

    int decreaseStocks(@Param("id")Integer id);
}
